#include <iostream>
#include <string>
#pragma once
#include "worker.h"
using namespace std;
class Worker
{
public:
	Worker(){};
	~Worker(){};
	virtual void showInfo() = 0;
	virtual string getDeptName() = 0;

	int id;
	string name;
	int deptId;
};